package com.alex.demo.mapper;

import com.alex.demo.pojo.LieChe;
import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Alex
 * @since 2022-03-26
 */
@Mapper
public interface LieCheMapper extends BaseMapper<LieChe> {

    @Update(value = "truncate table lieche")
    void deleteAll();
    @DS("oracle")
    int getPersonInfoByCardId(String cardId);
}
